<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Install Files</title>                   
</head>
<body>
    <h1>File List</h1>
    <ul>
        {% for filename in file_list %}
        <li><a href="{{ url_for('up_install', filename=filename) }}">{{ filename }}</a></li>
        {% endfor %}
    </ul>
    <hr>
    <h1>Upload File</h1>
    <form method="POST" enctype="multipart/form-data" action="/up-install">
        <input type="file" name="file">
        <input type="submit" value="Upload">
    </form>
</body>
</html>
